flowbox: correct the behavior with "can-focus"==FALSE
authorRafal Luzynski <digitalfreak@lingonborough.com>
Sun, 23 Aug 2015 00:32:21 +0000 (02:32 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 4 Oct 2015 02:48:15 +0000 (22:48 -0400)
commit3c253c46a5d3979475a6cd968cd15c85f0bf26b0
treefd270b5a42ebfd546c6636fa535a3a1fd4f08ce6
parent896f911ea17c5818c9364980f5c82a95533bb070
flowbox: correct the behavior with "can-focus"==FALSE

In fact there were two issues:

1. GtkFlowBoxChild with "can-focus"==FALSE should pass the focus
to its child immediately.
2. GtkFlowBox with "can-focus"==FALSE should cease its custom keynav
implementation and fall back to the default GtkContainer behavior
which is more natural.

Thanks to these changes the flow box can act as a better replacement
for GtkGrid and similar containers.

https://bugzilla.gnome.org/show_bug.cgi?id=753371
gtk/gtkflowbox.c
gtk/gtkflowbox.h